﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// A check box control, rendered as INPUT tag with type of CHECKBOX.
	/// </summary>
	public class CheckBox : BaseToggleControl
	{
		/// <summary>
		/// Adds the type attribute values "checkbox".
		/// </summary>
		/// <param name="writer"></param>
		protected override void AddAttributesToRender(System.Web.UI.HtmlTextWriter writer)
		{
			writer.AddAttribute(System.Web.UI.HtmlTextWriterAttribute.Type, "checkbox");

			base.AddAttributesToRender(writer);
		}
	}
}
